package com.zjw.common.exception.response;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResponseVO<T> {
    @ApiModelProperty(value = "返回编码,成功0", example = "0", required=true)
    private String ret;

    @ApiModelProperty(value = "返回信息", example = "SUCCESS", required=true)
    private String retmsg;

    @ApiModelProperty(value = "返回数据", example = "{}")
    private T retdata;

    @ApiModelProperty(value = "请求id", example = "493291d817", required=true)
    private String requestId;
}
